From: Florian Müllner Date: Thu, 20 Feb 2020 14:57:36 +0000 (+0100) Subject: authPrompt: Initialize property in _init() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~78 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ff39b3274b72082e9a03165b7ec38f035f3210b2;p=gnome-shell.git authPrompt: Initialize property in _init() This avoid a "reference to undefined property" warning when using it in a comparison. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1035 --- diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 8cb1f305c..0cb2462a0 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -55,6 +55,7 @@ var AuthPrompt = GObject.registerClass({ this._gdmClient = gdmClient; this._mode = mode; + this._defaultButtonWellActor = null; let reauthenticationOnly; if (this._mode == AuthPromptMode.UNLOCK_ONLY)